import { CrowdRangeEnum, PackageGroupStatusEnum } from "./enum";
import { GoodsTypes } from "./goods";

export namespace PackageTypes{
    export type IPackageItem = Partial<{
            id: number;
            title: string;
            description: string;
            originalPrice: number;
            salePrice: number;
            mainImage: string;
            status: PackageGroupStatusEnum;
            context: string;
            creator: string;
            createTime: string;
            updator: string;
            updateTime: string;      
            goods?:GoodsTypes.IGoodsItem[]
            crowdRange:  CrowdRangeEnum
    }>
}